
module.exports = async (ctx , next )=>{
    ctx.set("Content-Type",`application/json;charset=UTF-8`)
    ctx.set("Access-Control-Allow-Origin",'*')
    ctx.set("Access-Control-Allow-Methods",'OPTION,GET,POST,DELETE,PUT')
    await next()
}